﻿using System;
using System.ServiceModel;
using CommandRunner.Model;

namespace CommandRunner.Contract
{
    [ServiceContract]
    public interface ICommandRunnerServerDataTransport
    {
        [OperationContract]
        bool StartCommand(CommandResult commandResult);

        [OperationContract]
        bool IsCommandFinished(Guid commandId);

        [OperationContract]
        CommandResult GetCommandResult(Guid commandId);
    }
}
